package api_models

type LiveOrAnchorSearchReq struct {
	PageParam
	Keyword string `json:"keyword"` //关键字
	Uid     int    `json:"uid"`     //主播ID
}
type SearchReq struct {
	Keyword string `json:"keyword" example:"卢本伟" validate:"required"` // 搜索关键词
	Type    int    `json:"type" example:"0" validate:"min=1, max=2"`  // 搜索类型 0-主播和直播,1-直播,2-主播
	UID     int    `json:"user_id"`                                   // 当前登录用户ID
}

type SearchResp struct {
	Lives []*LiveAnchor `json:"lives"`
	Anhor []*Anchor     `json:"anhor"`
}
